package com.sth.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sth.entity.Ranking;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 排名 Mapper 接口
 * </p>
 *
 * @author sith
 * @since 2024-07-11
 */
@Mapper
public interface RankingMapper extends BaseMapper<Ranking> {

    IPage<Ranking> selectMyPage(Page<Ranking> pageParam, Ranking ranking);

    List<Ranking> getList();

    List<Ranking> getDetailList();
}
